Open ajermakovics opened 12 years ago
This should show a warning since the mock method is not reentrant:
new MockUp() { @Mock // (reentrant = true) public Logger getLogger(final Class<?> clazz) { Logger ret = LoggerFactory.getLogger(clazz); return ret; } };
This should show a warning since the mock method is not reentrant:
new MockUp()
{
@Mock // (reentrant = true)
public Logger getLogger(final Class<?> clazz)
{
Logger ret = LoggerFactory.getLogger(clazz);
return ret;
}
};