replaced unnecessary mockery::any()