@Test
    public void networkId() {
        final byte[] networkKey = MeshParserUtils.toByteArray("7dd7364cd842ad18c17c2b820c84c3d6".toUpperCase(Locale.US));
        final String networkIDText = MeshParserUtils.bytesToHex(SecureUtils.calculateK3(networkKey), false).toLowerCase();
        final String expectedNetworkId = "3ecaff672f673370";
        assertEquals(expectedNetworkId, networkIDText);
    }
Example local unit test, which will execute on the development machine (host).

@see <a href="http://d.android.com/tools/testing">Testing documentation</a>
mesh/src/test/java/no/nordicsemi/android/mesh/transport/EncryptionTests.java