@Test public void bolusDeliveredTest() throws Exception { per.bolusDelivered(11d); Assert.assertEquals(11d, per.bolusDelivered, 0.01d); }
public PumpEnactResult bolusDelivered(double bolusDelivered) { this.bolusDelivered = bolusDelivered; return this; }
PumpEnactResult { public PumpEnactResult bolusDelivered(double bolusDelivered) { this.bolusDelivered = bolusDelivered; return this; } }
PumpEnactResult { public PumpEnactResult bolusDelivered(double bolusDelivered) { this.bolusDelivered = bolusDelivered; return this; }  }
PumpEnactResult { public PumpEnactResult bolusDelivered(double bolusDelivered) { this.bolusDelivered = bolusDelivered; return this; }  PumpEnactResult success(boolean success); PumpEnactResult enacted(boolean enacted); PumpEnactResult comment(String comment); PumpEnactResult comment(int comment); PumpEnactResult duration(int duration); PumpEnactResult absolute(double absolute); PumpEnactResult percent(int percent); PumpEnactResult isPercent(boolean isPercent); PumpEnactResult isTempCancel(boolean isTempCancel); PumpEnactResult bolusDelivered(double bolusDelivered); PumpEnactResult carbsDelivered(double carbsDelivered); PumpEnactResult queued(boolean queued); String log(); String toString(); String toHtml(); JSONObject json(Profile profile); }
PumpEnactResult { public PumpEnactResult bolusDelivered(double bolusDelivered) { this.bolusDelivered = bolusDelivered; return this; }  PumpEnactResult success(boolean success); PumpEnactResult enacted(boolean enacted); PumpEnactResult comment(String comment); PumpEnactResult comment(int comment); PumpEnactResult duration(int duration); PumpEnactResult absolute(double absolute); PumpEnactResult percent(int percent); PumpEnactResult isPercent(boolean isPercent); PumpEnactResult isTempCancel(boolean isTempCancel); PumpEnactResult bolusDelivered(double bolusDelivered); PumpEnactResult carbsDelivered(double carbsDelivered); PumpEnactResult queued(boolean queued); String log(); String toString(); String toHtml(); JSONObject json(Profile profile); public boolean success; public boolean enacted; public String comment; public int duration; public double absolute; public int percent; public boolean isPercent; public boolean isTempCancel; public double bolusDelivered; public double carbsDelivered; public boolean queued; }