Community
Participate
Working Groups
Given code: package dj.test; import junit.framework.TestCase; /** * @author avi */ public class CopyOfDjTests extends TestCase { public class Song {} public class Dj {} public void test00increasePlayCount() throws Exception { Dj dj = new Dj(); Song song = new Song(); assertEquals(0, dj.playCount(song)); } } (With JUnit libraries imported). The "create method" quick fix tries to generate method "playCount" with return type "Object". Originally, I blamed autoboxing, but the same happens when 1.4 compliance is enabled. The issue appears to be that assertEquals is overloaded in TestCase
For me not critical for 3.1.
*** This bug has been marked as a duplicate of 69471 ***