public void ArrayFormaters_IsCalling() { simpleWordPreprocessor.Handle(strings); wordFormater1.Received().HandleWords(Arg.Any <IEnumerable <string> >()); wordFormater2.Received().HandleWords(Arg.Any <IEnumerable <string> >()); }
public void DoingNothingWithArray_IfArrayFormatersCountEquallyZero() { simpleWordPreprocessor = new SimpleWordPreprocessor(new IWordFormater[] { }); simpleWordPreprocessor.Handle(strings).Should().Equal(strings); }
public void DoingNothingWithArray_IfArrayFormatersNull() { simpleWordPreprocessor = new SimpleWordPreprocessor(null); simpleWordPreprocessor.Handle(strings).Should().Equal(strings); }