getTestAccount()); $result = Factory::security()->textRisk()->detect("test"); $this->assertEquals('10000', $result->code); $this->assertEquals('Success', $result->msg); } }