示例#1
0
 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);
 }
示例#2
0
 protected override void Act()
 {
     Sut = new EmptyPredicate();
 }
示例#3
0
 public CodelistFactory(EmptyPredicate emptyPredicate, CodeFactory codeFactory)
 {
     _emptyPredicate = emptyPredicate;
     _codeFactory    = codeFactory;
 }
示例#4
0
 protected override void Act()
 {
     Sut = new EmptyPredicate();
 }