### Question:
WalletUtils { public static Credentials loadCredentials(String password, String source) throws IOException, CipherException { return loadCredentials(password, new File(source)); }  static String generateFullNewWalletFile(String password, File destinationDirectory); static String generateLightNewWalletFile(String password, File destinationDirectory); static String generateNewWalletFile(
            String password, File destinationDirectory, boolean useFullScrypt); static String generateWalletFile(
            String password, ECKeyPair ecKeyPair, File destinationDirectory, boolean useFullScrypt); static Credentials loadCredentials(String password, String source); static Credentials loadCredentials(String password, File source); static String getDefaultKeyDirectory(); static String getTestnetKeyDirectory(); static String getMainnetKeyDirectory(); static boolean isValidPrivateKey(String privateKey); static boolean isValidAddress(String input);  }### Answer:
@Test public void testLoadCredentialsFromFile() throws Exception { Credentials credentials = WalletUtils.loadCredentials( PASSWORD, new File(WalletUtilsTest.class.getResource( "/keyfiles/" + "UTC--2016-11-03T05-55-06." + "340672473Z--ef678007d18427e6022059dbc264f27507cd1ffc") .getFile())); assertThat(credentials, equalTo(CREDENTIALS)); }
@Test public void testLoadCredentialsFromString() throws Exception { Credentials credentials = WalletUtils.loadCredentials( PASSWORD, WalletUtilsTest.class.getResource( "/keyfiles/" + "UTC--2016-11-03T05-55-06." + "340672473Z--ef678007d18427e6022059dbc264f27507cd1ffc").getFile()); assertThat(credentials, equalTo(CREDENTIALS)); }
@Ignore @Test public void testLoadCredentialsMyEtherWallet() throws Exception { Credentials credentials = WalletUtils.loadCredentials( PASSWORD, new File(WalletUtilsTest.class.getResource( "/keyfiles/" + "UTC--2016-11-03T07-47-45." + "988Z--4f9c1a1efaa7d81ba1cabf07f2c3a5ac5cf4f818").getFile())); assertThat(credentials, equalTo( Credentials.create( "6ca4203d715e693279d6cd9742ad2fb7a3f6f4abe27a64da92e0a70ae5d859c9"))); }