It is somewhat nicer to create a stub or simple fake. Now it is also testing BasicEntityIdParser and is bound to it, while the class under test is not.