DataStyles { public DataStyle getDataStyle(final CellType type) { return this.dataStyleByType.get(type); } DataStyles(final BooleanStyle booleanDataStyle, final CurrencyStyle currencyDataStyle,
                      final DateStyle dateDataStyle, final FloatStyle floatDataStyle,
                      final PercentageStyle percentageDataStyle, final TimeStyle timeDataStyle); BooleanStyle getBooleanDataStyle(); CurrencyStyle getCurrencyDataStyle(); DataStyle getDataStyle(final CellType type); DateStyle getDateDataStyle(); PercentageStyle getPercentageDataStyle(); TimeStyle getTimeDataStyle(); FloatStyle getFloatDataStyle();  }
@Test public void testGetAll() { for (final CellType type : CellType.values()) { if (type == CellType.STRING || type == CellType.VOID) { Assert.assertNull(this.ds.getDataStyle(type)); } else { Assert.assertNotNull(this.ds.getDataStyle(type)); } } }
@Test public void testGetString() { Assert.assertNull(this.ds.getDataStyle(CellType.STRING)); }
@Test public void testGetVoid() { Assert.assertNull(this.ds.getDataStyle(CellType.VOID)); }