codeception/verify 2.1 removed support for expect()->null() so we need to replace it with verify()->null(). [MAILPOET-5664]