@Test
public void onHandleIntentにBmiValue型以外のデータが入ったIntentを渡したら何もしない() {

    Intent intent = mock(Intent.class);
    when(intent.getSerializableExtra(SaveBmiService.PARAM_KEY_BMI_VALUE)).thenReturn("hoge");

    SaveBmiService service = spy(new SaveBmiService());
    service.onHandleIntent(intent);
    verify(service, never()).sendLocalBroadcast(anyBoolean());
    verify(service, never()).saveToRemoteServer((BmiValue)any());
}