    @Test
    public void testJavaValueMatcher() throws Exception {

        String codeLine = "editTextView.setText(toString(R.string.title));" +
                "imageView.getLayoutParam().width = getResource().getDimen(R.dimen.width);";

        ResourceMatcher matcher = new ResourceMatcher(codeLine, RES_VALUE_IN_JAVA);
        matcher.match(mockHandler);

        verify(mockHandler).handle("string", "title");
        verify(mockHandler).handle("dimen", "width");
    }