Use assertNotSame() instead of assertTrue($result !== false)