Make assertContains method.