import static org.junit.Assert.assertFalse
import static org.junit.Assert.assertTrue

def file = new File(basedir, "build.log")
assertFalse 'MariaDB4j should have run', file.text.contains("Installing a new embedded database")
assertFalse 'MariaDB4j Should attempt to stop', file.text.contains('Shutdown Hook Deletion Thread for Temporary DB')

import static org.junit.Assert.assertTrue

def file = new File(basedir, "build.log")
assertTrue 'MariaDB4j should have run: ', file.text.contains("Installing a new embedded database")
assertTrue 'MariaDB4j Should attempt to stop', file.text.contains('ShutdownHook quietly deleting temporary DB data directory')

Fix copy/paste error. The log lines should be present in the build log
Fix copy/paste error.  The log lines should be present in the build log
