extract class: constructor params (IDEA-73788 )

This commit is contained in:
anna
2011-12-06 14:20:26 +01:00
parent a49bf3f129
commit 55611fe9ad
8 changed files with 83 additions and 21 deletions

View File

@@ -101,6 +101,14 @@ public class ExtractClassTest extends MultiFileTestCase{
doTestMethod();
}
public void testNoConstructorParams() throws Exception {
doTestFieldAndMethod();
}
public void testConstructorParams() throws Exception {
doTestFieldAndMethod();
}
private void doTestFieldAndMethod() throws Exception {
doTestFieldAndMethod("bar");
}