@Test(expected = IllegalArgumentException.class)
public void createShouldThrowAnExceptionWhenContextIsNull() {

  // given
  final Context context = null;
  // when
  Connectivity.create(context);
  // then
  // an exception is thrown
}