When I use PowerMock to mock the constructor,I want to specify the type of the paremeters. I use the method
PowerMock.expectNew(Class<T> type, Class<?>[] parameterTypes, Object... arguments)
If I want to specify the String
type, what shoud I fill in the parameterTypes
?