public async Task RegisterClient_RegisterNewClient_ReturnsTrue(Client client)
        {
            // Arrange
            IClientEntityService service = ClientEntityServiceHelper.GetMock();

            // Act
            IDomainResult <bool> result = await service.RegisterAsync(client);

            // Assert
            Assert.True(result.Data);
        }
Exemple #2
0
 public ClientApplication(IClientEntityService clientEntityService)
 {
     ClientEntityService = clientEntityService;
 }