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