@Test
    public void parseAccessMessage() {
        //Message #16
        final String expectedAccessPayload = "800300563412";
        final byte[] netkey = MeshParserUtils.toByteArray("7dd7364cd842ad18c17c2b820c84c3d6");

        final SecureUtils.K2Output k2Output = SecureUtils.calculateK2(netkey, SecureUtils.K2_MASTER_INPUT);
        final ProvisionedMeshNode meshNode = new ProvisionedMeshNode();
        meshNode.setDeviceKey(MeshParserUtils.toByteArray("9d6dd0e96eb25dc19a40ed9914f8f03f"));
        final byte[] pdu = MeshParserUtils.toByteArray("0068e80e5da5af0e6b9be7f5a642f2f98680e61c3a8b47f228");

        /*final MeshTransport meshLayerTestBase = new MeshTransport(context, meshNode);
        try {
            final Message message = meshLayerTestBase.parsePdu(pdu);
            final String actualAccessPayload = MeshParserUtils.bytesToHex(((AccessMessage) message).getAccessPdu(), false);
            assertEquals(expectedAccessPayload, actualAccessPayload);
        } catch (ExtendedInvalidCipherTextException e) {
            e.printStackTrace();
        }*/
    }
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/NetworkLayerTests.java