This should probably be
```java
boolean logFound = !expected
```
*OR*
You should ```Assert.fail()``` in an ```else``` statement.

If you pass in ```false``` and ```file.exists()``` returns ```false``` the test would pass even if the file contained the log message.