Make mock-classes without template specialization