[5.0] Make AssertionsTrait work

delete depend on client object
You need to remove these blank lines too in each case.