コード例 #1
0
            public void Inheritence()
            {
                var request = new GetAllPlatformsRequestAsync(FakeRepositoryAsync, FakeRepositoryAsyncAggregate);

                request.Should().NotBeNull();
                request.Should().BeAssignableTo <BaseServiceRequestAsync <Domain.Platform.Entities.Platform> >();
                request.Should().BeAssignableTo <IGetAllPlatformsRequestAsync>();
                request.Should().BeOfType <GetAllPlatformsRequestAsync>();
            }
コード例 #2
0
 public void TestCleanup()
 {
     ClearFakes();
     request = null;
 }
コード例 #3
0
 public void TestInitalize()
 {
     InitializeFakes();
     request = new GetAllPlatformsRequestAsync(FakeRepositoryAsync, FakeRepositoryAsyncAggregate);
 }