refactoring => introduce test stub