public static < T > T createMock ( Class < T > type , ConstructorArgs constructorArgs , Method ... methods ) { return doMock ( type , false , new DefaultMockStrategy ( ) , constructorArgs , methods ) ; }
Creates a mock object that supports mocking of final and native methods and invokes a specific constructor .