@Test
    public void addition_isCorrect() throws Exception {
        assertEquals(4, 2 + 2);
    }
To work on unit tests, switch the Test Artifact in the Build Variants view.
material-design-dimens/src/test/java/com/dmitrymalkovich/android/materialdesigndimens/ExampleUnitTest.java