Exemplo n.º 1
0
 public void CompanyService_WithNullRepository_ThrowsException()
 {
     // Act
     _service = new ConcreteCompanyService <TestCompany>(null);
 }
Exemplo n.º 2
0
 public void Initialize()
 {
     _mockContext = new MockEfContext(typeof(TestCompany));
     _repository  = new EfRepository <TestCompany>(_mockContext.Object);
     _service     = new ConcreteCompanyService <TestCompany>(_repository);
 }