@Test
    public void parseConfigNetKeyList() {
        //based on Message 6
        final List<Integer> keyIndexes = new ArrayList<>();
        keyIndexes.add(MeshParserUtils.hexToInt("0123"));
        keyIndexes.add(MeshParserUtils.hexToInt("0456"));
        keyIndexes.add(MeshParserUtils.hexToInt("0789"));
        final AccessMessage message = new AccessMessage();
        message.setOpCode(MeshParserUtils.hexToInt("8040"));
        message.setParameters(MeshParserUtils.toByteArray("2361458907".toUpperCase(Locale.US)));

        final ConfigNetKeyList configNetKeyList = new ConfigNetKeyList(message);
        assertArrayEquals(keyIndexes.toArray(), configNetKeyList.getKeyIndexes().toArray());
    }
Configuration message tests

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