AsyncRepositoryTests.WithDeletedStreamInStore.GetAsyncThrowsForKnownId C# (CSharp) Method

GetAsyncThrowsForKnownId() private method

private GetAsyncThrowsForKnownId ( ) : void
return void
            public void GetAsyncThrowsForKnownId()
            {
                var exception =
                    Assert.ThrowsAsync<AggregateNotFoundException>(async () => { var _ = await _sut.GetAsync(_model.KnownIdentifier); });
                Assert.That(exception.Identifier, Is.EqualTo(_model.KnownIdentifier));
                Assert.That(exception.ClrType, Is.EqualTo(typeof(AggregateRootEntityStub)));
            }