FieldRemoved { public static void main(String[] args) { B.fieldShouldBeMissing(); }  static void main(String[] args);  }
@Test public void shouldThrowError() throws Exception { thrown.expect(NoSuchFieldError.class); thrown.expectMessage("publicFieldOne"); FieldRemoved.main(new String[0]); }