Do i write a unit test case for this purpose?