[NTP Client] Throw when unregistered feature is queried in tests

Allows to register features and explicitly specifying if they should
be enabled or not, and now throws an exception when the status of
an unregistered feature is queried.

Syntax changes from
  @EnableFeatures({"Foo", "Bar"})
to
  @Features({
    @Features.Register("Foo"),
    @Features.Register(value = "Bar", enabled = true),
    @Features.Register(value = "Baz", enabled = false)})

BUG=None

Review-Url: https://codereview.chromium.org/2723003010
Cr-Commit-Position: refs/heads/master@{#454908}
diff --git a/chrome/android/java_sources.gni b/chrome/android/java_sources.gni
index 91faecf..2527e0d 100644
--- a/chrome/android/java_sources.gni
+++ b/chrome/android/java_sources.gni
@@ -1549,9 +1549,9 @@
 chrome_junit_test_java_sources = [
   "junit/src/org/chromium/chrome/browser/ChromeBackupAgentTest.java",
   "junit/src/org/chromium/chrome/browser/ChromeBackgroundServiceWaiterTest.java",
-  "junit/src/org/chromium/chrome/browser/EnableFeatures.java",
   "junit/src/org/chromium/chrome/browser/DelayedScreenLockIntentHandlerTest.java",
   "junit/src/org/chromium/chrome/browser/DisableHistogramsRule.java",
+  "junit/src/org/chromium/chrome/browser/Features.java",
   "junit/src/org/chromium/chrome/browser/ShortcutHelperTest.java",
   "junit/src/org/chromium/chrome/browser/SSLClientCertificateRequestTest.java",
   "junit/src/org/chromium/chrome/browser/compositor/overlays/strip/StripLayoutHelperTest.java",