VagrantBoxes { public SystemSpecification getSpecification(String boxName) { return BOXES.get(boxName); } protected  VagrantBoxes(); Collection<String> getNames(); Collection<SystemSpecification> getSystems(); boolean hasSystem(SystemSpecification spec); String getName(SystemSpecification spec); SystemSpecification getSpecification(String boxName);  }
@Test public void testGetSpecification() { assertThat(boxes.getSpecification("ubuntu/trusty64"), is(SystemSpecification.UBUNTU_1404)); }