This commit is contained in:
Timo Westkämper 2013-04-24 19:14:20 +03:00
parent 456a3c45da
commit c0c46b8c40

View File

@ -0,0 +1,33 @@
package com.mysema.query.domain;
import static org.junit.Assert.*;
import org.junit.Test;
import com.mysema.query.annotations.QueryEntity;
public class InterfaceType3Test {
@QueryEntity
interface A {
String getA();
}
@QueryEntity
interface B {
String getB();
}
@QueryEntity
interface C extends A, B {
String getC();
}
@Test
public void test() {
assertNotNull(QInterfaceType3Test_C.c1.a);
assertNotNull(QInterfaceType3Test_C.c1.b);
assertNotNull(QInterfaceType3Test_C.c1.c);
}
}