Search in sources :

Example 1 with BindsConfigAdapter

use of org.terasology.engine.subsystem.config.BindsSubsystem.BindsConfigAdapter in project Terasology by MovingBlocks.

the class BindsSubsystemTest method setUp.

@Before
public void setUp() {
    bindsSubsystem = new BindsSubsystem();
    bindsConfiguration = new BindsConfigAdapter(new BindsConfig());
    context = new ContextImpl();
    context.put(BindsConfiguration.class, bindsConfiguration);
    bindsSubsystem.preInitialise(context);
    setUpMockModuleEnvironment();
}
Also used : BindsConfigAdapter(org.terasology.engine.subsystem.config.BindsSubsystem.BindsConfigAdapter) BindsConfig(org.terasology.config.BindsConfig) ContextImpl(org.terasology.context.internal.ContextImpl) Before(org.junit.Before)

Aggregations

Before (org.junit.Before)1 BindsConfig (org.terasology.config.BindsConfig)1 ContextImpl (org.terasology.context.internal.ContextImpl)1 BindsConfigAdapter (org.terasology.engine.subsystem.config.BindsSubsystem.BindsConfigAdapter)1