/** * Create a mock ninja properties, with the given args as the properties. * * The arguments must be in key value pairs, every second argument being the * value for the key name in the previous argument. * * @param args The key value pairs. * @throws AssertionError If an odd number of arguments is supplied. */ public static MockNinjaProperties create(String... args) { return createWithMode(NinjaConstant.MODE_TEST, null, args); }