This commit is contained in:
Timo Westkämper 2010-01-29 08:23:52 +00:00
parent d02c6befcc
commit 6109920b77

View File

@ -21,6 +21,10 @@ public class EConstructorTest {
public Projection(long id, String text){
}
public Projection(CharSequence text){
}
}
@Test
@ -53,4 +57,11 @@ public class EConstructorTest {
assertEquals(0, c.getParameterTypes().length);
}
@Test
public void test_create4(){
EString stringVal = EStringConst.create("");
Constructor<?> c = EConstructor.create(Projection.class, stringVal).getJavaConstructor();
assertEquals(CharSequence.class, c.getParameterTypes()[0]);
}
}