add null param

Parameters can be equal to null( withTitle() and withMessage() )