@Test
public void getNetwork() throws Exception {

    NetworkParameters params = Address.getParametersFromAddress("17kzeh4N8g49GFvdDzSf8PjaPfyoD1MndL");
    assertEquals(MainNetParams.get().getId(), params.getId());
    params = Address.getParametersFromAddress("n4eA2nbYqErp7H6jebchxAN59DmNpksexv");
    assertEquals(TestNet3Params.get().getId(), params.getId());
}