public void GetReadsSnapshotOfUnknownId() { Catch.ExceptionOf(() => _sut.Get(_model.UnknownIdentifier)); A.CallTo(() => _reader.ReadOptional(_model.UnknownIdentifier)).MustHaveHappened(); }
public void GetResolvesNameOfUnknownId() { Catch.ExceptionOf(() => _sut.Get(_model.UnknownIdentifier)); A.CallTo(() => _resolver.Resolve(_model.UnknownIdentifier)).MustHaveHappened(); }