test/unit: remove unused method

Change-Id: Idaf1ee2eb36cb1d60260187e16219365f7fbe756
Signed-off-by: MORITA Kazutaka <morita.kazutaka@gmail.com>