BakeoutController-Basic  0.1
A Controller for the Omicron vacuum chamber
GetPowerSupplyFactory.java
1 package unit.kernel.models.kernel;
2 
3 import kernel.models.Kernel;
4 import org.junit.Test;
5 
6 import static org.junit.Assert.assertEquals;
7 import static org.junit.Assert.assertNotNull;
8 
12 public final class GetPowerSupplyFactory extends KernelTestCase {
13  @Test
14  public void getPowerSupplyFactory(){
15  assertNotNull(kernel.getPowerSupplyFactory());
16  }
17 
24  @Test
25  public void getPowerSupplyKernel(){
26  assertEquals(kernel, kernel.getPowerSupplyFactory().getKernel());
27  }
28 }
Git Repo