@Test
    public void k3_isCorrect() {
        final byte[] n = MeshParserUtils.toByteArray("f7a2a44f8e8a8029064f173ddc1e2b00");
        final byte[] networkId = MeshParserUtils.toByteArray("ff046958233db014");
        assertArrayEquals(networkId, SecureUtils.calculateK3(n));
    }
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