diff --git a/src/tests/com/puppycrawl/tools/checkstyle/checks/j2ee/HomeInterfaceCheckTest.java b/src/tests/com/puppycrawl/tools/checkstyle/checks/j2ee/HomeInterfaceCheckTest.java index a2717703e..9a2792407 100644 --- a/src/tests/com/puppycrawl/tools/checkstyle/checks/j2ee/HomeInterfaceCheckTest.java +++ b/src/tests/com/puppycrawl/tools/checkstyle/checks/j2ee/HomeInterfaceCheckTest.java @@ -11,13 +11,10 @@ public class HomeInterfaceCheckTest extends BaseCheckTestCase final DefaultConfiguration checkConfig = createCheckConfig(RemoteHomeInterfaceCheck.class); final String[] expected = { - "14:18: Home interface 'InputHomeInterface' must have method 'findByPrimaryKey()'.", "20:19: Method 'createSomething' must be non-void.", "20:19: Method 'createSomething' must throw 'java.rmi.RemoteException'.", "20:19: Method 'createSomething' must throw 'javax.ejb.CreateException'.", - "22:19: Method 'findSomething' must be non-void.", "22:19: Method 'findSomething' must throw 'java.rmi.RemoteException'.", - "22:19: Method 'findSomething' must throw 'javax.ejb.FinderException'.", }; verify(checkConfig, getPath("j2ee/InputHomeInterface.java"), expected); }