An experiment of mocking constructor calls in an anonymous class