Search in sources :

Example 1 with Empty

use of com.google.auto.value.annotations.Empty in project auto by google.

the class AutoAnnotationTest method testEmpty.

@Test
public void testEmpty() {
    Empty expectedEmpty = AnnotatedClass.class.getAnnotation(Empty.class);
    Empty actualEmpty = newEmpty();
    new EqualsTester().addEqualityGroup(expectedEmpty, actualEmpty).testEquals();
}
Also used : Empty(com.google.auto.value.annotations.Empty) EqualsTester(com.google.common.testing.EqualsTester) Test(org.junit.Test)

Aggregations

Empty (com.google.auto.value.annotations.Empty)1 EqualsTester (com.google.common.testing.EqualsTester)1 Test (org.junit.Test)1