Nice catch! I bet you made a typo: assertNotNull.