Beispiel #1
0
 public void TestInitialize()
 {
     InitializeFakes();
     MappingProfileInitilizer.ConfigureMappings();
     request    = new CreateGameRequest(FakeRepository, FakeRepositoryAggregate);
     createGame = () => FakeRepository.Create(A <Game> .Ignored);
 }
 public static void Configure(IServiceCollection services)
 {
     RepositoriesConfiguration.Configure(services);
     RequestAndResponsesConfiguration.Configure(services);
     MappingProfileInitilizer.ConfigureMappings();
     LoggingConfiguration.Configure(services);
 }
Beispiel #3
0
        public void MappingProfilesAreValid()
        {
            Action method = () => MappingProfileInitilizer.ConfigureMappings();

            method.Should().NotThrow();
        }
Beispiel #4
0
 protected TestBase()
 {
     MappingProfileInitilizer.ConfigureMappings();
 }