@Test
public void getNetwork() throws Exception {

    NetworkParameters params = Address.getParametersFromAddress(CoinDefinition.UNITTEST_ADDRESS);
    assertEquals(MainNetParams.get().getId(), params.getId());
    if(CoinDefinition.supportsTestNet)
    {
        params = Address.getParametersFromAddress("n4eA2nbYqErp7H6jebchxAN59DmNpksexv");
        assertEquals(TestNet3Params.get().getId(), params.getId());
    }
}