コード例 #1
0
            public void Inheritence()
            {
                var request = new GetGamesByGenreRequest(FakeRepository, FakeRepositoryAggregate);

                request.Should().NotBeNull();
                request.Should().BeAssignableTo <BaseServiceRequest <Game> >();
                request.Should().BeAssignableTo <IGetGamesByGenreRequest>();
                request.Should().BeOfType <GetGamesByGenreRequest>();
            }
コード例 #2
0
 public void InheritsFromIGetGamesByGenreRequest()
 {
     request.Should().BeAssignableTo <IGetGamesByGenreRequest>();
 }