private void StubEmptyPredicate() { EmptyPredicate.Stub(x => x.IsEmpty(codeStr1)).Return(false); EmptyPredicate.Stub(x => x.IsEmpty(codeStr2)).Return(false); EmptyPredicate.Stub(x => x.IsEmpty(codeStr3)).Return(false); EmptyPredicate.Stub(x => x.IsEmpty(codeStr4)).Return(true); }
protected override void Act() { Sut = new EmptyPredicate(); }
public CodelistFactory(EmptyPredicate emptyPredicate, CodeFactory codeFactory) { _emptyPredicate = emptyPredicate; _codeFactory = codeFactory; }
protected override void Act() { Sut = new EmptyPredicate(); }