Mock without default constructor