}
private static BRJS createTemporaryBRJSModel() throws InvalidSdkDirectoryException, IOException {
File tempSdkDir = FileUtility.createTemporaryDirectory(NodeImporter.class);
new File(tempSdkDir, "sdk").mkdir();
MockPluginLocator pluginLocator = new MockPluginLocator();
pluginLocator.assetLocationPlugins.addAll(PluginLoader.createPluginsOfType(Mockito.mock(BRJS.class), AssetLocationPlugin.class, VirtualProxyAssetLocationPlugin.class));
pluginLocator.assetPlugins.addAll(PluginLoader.createPluginsOfType(Mockito.mock(BRJS.class), AssetPlugin.class, VirtualProxyAssetPlugin.class));
BRJS brjs = new BRJS(tempSdkDir, pluginLocator, new StubLoggerFactory(), new RealTimeAccessor(), new MockAppVersionGenerator());