DeviceListActivity extends AppCompatActivity implements DeviceListPresenter.View { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); RLog.d(); binding = DataBindingUtil.setContentView(this, R.layout.activity_device_list); setupScanRecyclerView(); createPresenter(); setupConnectEvent(); }  @Override void showToast(String s); @Override void checkPermission(String rationaleMessage, String... permissions); @Override void startActionRequestEnable(); @Override void addBluetoothDevice(BluetoothItem item);  }
@Test public void onCreate() throws Exception { presenter.startBluetooth(); }