@Test
    public void identity_key_isCorrect() {
        //8.2.5
        final String expectedIdentityKey = "84396c435ac48560b5965385253e210c".toUpperCase(Locale.US);
        final byte[] networkKey = MeshParserUtils.toByteArray("7dd7364cd842ad18c17c2b820c84c3d6".toUpperCase(Locale.US));

        assertEquals(expectedIdentityKey, MeshParserUtils.bytesToHex(SecureUtils.calculateIdentityKey(networkKey), false));
    }
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