Changed getEnteredText() to getText() in MockFactory