UserAgent { public static String value() { return osJavaBotbuilderCache; } private  UserAgent(); static String value();  }
@Test public void GetAgentString() { String userAgent = UserAgent.value(); Assert.assertTrue(Pattern.matches("^BotBuilder/\\S*\\s\\(JVM.*$", userAgent)); Assert.assertFalse(userAgent.contains("{")); Assert.assertFalse(userAgent.contains("}")); }