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); }
public void MappingProfilesAreValid() { Action method = () => MappingProfileInitilizer.ConfigureMappings(); method.Should().NotThrow(); }
protected TestBase() { MappingProfileInitilizer.ConfigureMappings(); }