fix compile errors
use mockito
mocktest class
mocktest ..