@Test
    public void k4_isCorrect() {
        final byte[] n = MeshParserUtils.toByteArray("3216d1509884b533248541792b877f98");
        final int aid = 0x38;
        assertEquals(aid, SecureUtils.calculateK4(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