public static void setUpFixFilePaths() { when(ClientUtilities.fixFilePath(anyString())).thenCallRealMethod(); when(ClientUtilities.fixDirectoryPath(anyString())).thenCallRealMethod(); }
public static void setUpContentSpecHelper(final ContentSpecProvider contentSpecProvider) { when(ClientUtilities.getContentSpecEntity(eq(contentSpecProvider), anyInt(), anyInt())) .thenCallRealMethod(); when(ClientUtilities.getContentSpecAsString(eq(contentSpecProvider), anyInt(), anyInt())) .thenCallRealMethod(); }
public static void setUpMessages() { when(ClientUtilities.getMessage(anyString(), anyVararg())).thenCallRealMethod(); }