adding helper method to mock annotation