Test of Rest Controller