nested mocks of classes