Replace assert with JUnit assertTrue.