*/
public void testDefaultModeIfNoneSpecified() {
Set<Mode> modes = Collections.emptySet();
ClientLibraryDef clientLibrary = vendor.makeClientLibraryDef("UIPerf", null, ClientLibraryDef.Type.JS,
modes, false, null, null);
assertTrue(clientLibrary.shouldInclude(null));
for (Mode mode : AuraContext.Mode.values()) {
assertTrue("When no mode is specified, library should be included in all modes",
clientLibrary.shouldInclude(mode));
}
assertTrue(clientLibrary.shouldInclude(Mode.DEV, ClientLibraryDef.Type.JS));