@Test public void modelAttributeMethodUnnamedScalarAttributeMonitored() { ExampleController testController = new ExampleController(); testController.unnamedAttributeAccount(); Operation operation = getLastEntered(); assertEquals(Account.class.getName(), operation.get("value")); assertEquals("account", operation.get("modelAttributeName")); }