// Path: plugins/brjs-plugins/src/main/java/org/bladerunnerjs/plugin/bundlers/aliasing/AliasingUtility.java
// public static AliasesFile aliasesFile(AssetContainer assetContainer) {
// 	return getNodeProperty(assetContainer, AliasesFile.class.getSimpleName(), AliasesFile.class, 
// 			() -> { return new AliasesFile(assetContainer); });
// }


import static org.bladerunnerjs.plugin.bundlers.aliasing.AliasingUtility.aliasesFile;
import java.io.File;
import org.bladerunnerjs.api.App;
import org.bladerunnerjs.api.Aspect;
import org.bladerunnerjs.api.JsLib;
import org.bladerunnerjs.api.spec.engine.SpecTest;
import org.bladerunnerjs.spec.aliasing.AliasesFileBuilder;
import org.bladerunnerjs.utility.FileUtils;
import org.junit.Before;
import org.junit.Test;
package org.bladerunnerjs.spec.plugin.bundler.composite;




public class CompositeJsContentPluginTest extends SpecTest {
	private App app;
	private Aspect aspect;
	private StringBuffer requestResponse = new StringBuffer();
	private JsLib thirdpartyLib;
	private JsLib brLib;
	private JsLib appLib;
	private JsLib brbootstrap;
	private Aspect defaultAspect;
	private File targetDir;
	private AliasesFileBuilder aspectAliasesFileBuilder;
	
	@Before
	public void initTestObjects() throws Exception
	{
		given(brjs).automaticallyFindsBundlerPlugins()
			.and(brjs).automaticallyFindsMinifierPlugins()
			.and(brjs).hasBeenCreated();
			app = brjs.app("app1");
			aspect = app.aspect("default");
			defaultAspect = app.defaultAspect();
			thirdpartyLib = app.jsLib("thirdparty-lib");
			brLib = app.jsLib("br");
			brbootstrap = brjs.sdkLib("br-bootstrap");
			appLib = app.jsLib("appLib");
			targetDir = FileUtils.createTemporaryDirectory( this.getClass() );
			
// Path: plugins/brjs-plugins/src/main/java/org/bladerunnerjs/plugin/bundlers/aliasing/AliasingUtility.java
// public static AliasesFile aliasesFile(AssetContainer assetContainer) {
// 	return getNodeProperty(assetContainer, AliasesFile.class.getSimpleName(), AliasesFile.class, 
// 			() -> { return new AliasesFile(assetContainer); });
// }


// Path: plugins/brjs-plugins/src/test/java/org/bladerunnerjs/spec/plugin/bundler/composite/CompositeJsContentPluginTest.java
import static org.bladerunnerjs.plugin.bundlers.aliasing.AliasingUtility.aliasesFile;
import java.io.File;
import org.bladerunnerjs.api.App;
import org.bladerunnerjs.api.Aspect;
import org.bladerunnerjs.api.JsLib;
import org.bladerunnerjs.api.spec.engine.SpecTest;
import org.bladerunnerjs.spec.aliasing.AliasesFileBuilder;
import org.bladerunnerjs.utility.FileUtils;
import org.junit.Before;
import org.junit.Test;

package org.bladerunnerjs.spec.plugin.bundler.composite;




public class CompositeJsContentPluginTest extends SpecTest {
	private App app;
	private Aspect aspect;
	private StringBuffer requestResponse = new StringBuffer();
	private JsLib thirdpartyLib;
	private JsLib brLib;
	private JsLib appLib;
	private JsLib brbootstrap;
	private Aspect defaultAspect;
	private File targetDir;
	private AliasesFileBuilder aspectAliasesFileBuilder;
	
	@Before
	public void initTestObjects() throws Exception
	{
		given(brjs).automaticallyFindsBundlerPlugins()
			.and(brjs).automaticallyFindsMinifierPlugins()
			.and(brjs).hasBeenCreated();
			app = brjs.app("app1");
			aspect = app.aspect("default");
			defaultAspect = app.defaultAspect();
			thirdpartyLib = app.jsLib("thirdparty-lib");
			brLib = app.jsLib("br");
			brbootstrap = brjs.sdkLib("br-bootstrap");
			appLib = app.jsLib("appLib");
			targetDir = FileUtils.createTemporaryDirectory( this.getClass() );
			
			aspectAliasesFileBuilder = new AliasesFileBuilder(this, aliasesFile(aspect));