@Test
public void testConvertCurrency() {

    when(rateLoader.loadRate()).thenReturn(Observable.just(2f));
    CurrencyConverterModel model = viewModel.initAndResume();
    model.input.set("123");
    viewModel.calculate();
    assertThat(model.output.get()).isEqualTo("246.00");
}