Пример #1
0
            public void Inheritence()
            {
                var request = new UpdateGameTitleRequest(FakeRepository, FakeRepositoryAggregate);

                request.Should().NotBeNull();
                request.Should().BeAssignableTo <BaseServiceRequest <Game> >();
                request.Should().BeAssignableTo <IUpdateGameTitleRequest>();
                request.Should().BeOfType <UpdateGameTitleRequest>();
            }
Пример #2
0
 public void InheritsFromIUpdateGameTitleRequest()
 {
     request.Should().BeAssignableTo <IUpdateGameTitleRequest>();
 }