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); }
private void Verify(ISearchPatternBuilder builder) { builder.VerifyExpectations(true); }
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); }
public FieldProblem_Wendy() { _mocks = new MockRepository(); _searchPatternBuilder = _mocks.DynamicMock <ISearchPatternBuilder>(); _imageFinder = new ImageFinder(_searchPatternBuilder); }