class Mock can "spy" on constructor