public MathAssistantApplication Create(ITransformRule rule)
        {
            TransformRule = rule;
            INumericTransformer numericTransformer = new NumericTransformer(rule);

            return(new MathAssistantApplication(console, numericTransformer));
        }
 public void Transform_WhenNumberAndMonkeyRule_ReturnExpectedString(int number, string expectedString)
 {
     var transformer = new NumericTransformer(new MonkeyRule());
     var result = transformer.Transform(number);
     Assert.That(result, Is.EqualTo(expectedString));
 }