public FieldProblem_Wendy()
 {
     _mocks = new MockRepository();
     _searchPatternBuilder = _mocks.DynamicMock<ISearchPatternBuilder>();
     _imageFinder = new ImageFinder(_searchPatternBuilder);
 }
 private void Verify(ISearchPatternBuilder builder)
 {
     _mocks.Verify(builder);
 }
 private void Verify(ISearchPatternBuilder builder)
 {
     builder.VerifyAllExpectations();
 }
 public ImageFinder(ISearchPatternBuilder builder)
 {
     this.builder = builder;
 }
 public void SetUp()
 {
     _mocks = new MockRepository();
     _searchPatternBuilder = _mocks.DynamicMock<ISearchPatternBuilder>();
     _imageFinder = new ImageFinder(_searchPatternBuilder);
 }
 public FieldProblem_Wendy()
 {
     _searchPatternBuilder = MockRepository.GenerateMock<ISearchPatternBuilder>();
     _imageFinder = new ImageFinder(_searchPatternBuilder);
 }
示例#7
0
 private void Verify(ISearchPatternBuilder builder)
 {
     builder.VerifyExpectations(true);
 }
示例#8
0
 public ImageFinder(ISearchPatternBuilder builder)
 {
     this.builder = builder;
 }
示例#9
0
 public FieldProblem_Wendy()
 {
     _searchPatternBuilder = MockRepository.Mock <ISearchPatternBuilder>();
     _imageFinder          = new ImageFinder(_searchPatternBuilder);
 }
 public FieldProblem_Wendy()
 {
     _searchPatternBuilder = MockRepository.Mock <ISearchPatternBuilder>();
     _searchPatternBuilder.SetUnexpectedBehavior(UnexpectedCallBehaviors.BaseOrDefault);
     _imageFinder = new ImageFinder(_searchPatternBuilder);
 }
 private void Verify(ISearchPatternBuilder builder)
 {
     builder.VerifyExpectations(true);
 }
示例#12
0
 private void Verify(ISearchPatternBuilder builder)
 {
     _mocks.Verify(builder);
 }
示例#13
0
 public FieldProblem_Wendy()
 {
     _mocks = new MockRepository();
     _searchPatternBuilder = _mocks.DynamicMock <ISearchPatternBuilder>();
     _imageFinder          = new ImageFinder(_searchPatternBuilder);
 }