示例#1
0
            public void GetReadsSnapshotOfUnknownId()
            {
                Catch.ExceptionOf(() => _sut.Get(_model.UnknownIdentifier));

                A.CallTo(() => _reader.ReadOptional(_model.UnknownIdentifier)).MustHaveHappened();
            }
示例#2
0
            public void GetResolvesNameOfUnknownId()
            {
                Catch.ExceptionOf(() => _sut.Get(_model.UnknownIdentifier));

                A.CallTo(() => _resolver.Resolve(_model.UnknownIdentifier)).MustHaveHappened();
            }