@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("}")); }
public static String value() { return osJavaBotbuilderCache; }
UserAgent { public static String value() { return osJavaBotbuilderCache; } }
UserAgent { public static String value() { return osJavaBotbuilderCache; } private  UserAgent(); }
UserAgent { public static String value() { return osJavaBotbuilderCache; } private  UserAgent(); static String value(); }
UserAgent { public static String value() { return osJavaBotbuilderCache; } private  UserAgent(); static String value();  }