assertEquals(node, cycleObject(DeliverableSwapFutureNode.class, node));
}
@Test
public void testDiscountFactorNodeBuilder() {
DiscountFactorNode node = new DiscountFactorNode("TEST", Tenor.EIGHT_MONTHS);
assertEquals(node, cycleObject(DiscountFactorNode.class, node));
node = new DiscountFactorNode("TEST", Tenor.EIGHT_MONTHS, null);
assertEquals(node, cycleObject(DiscountFactorNode.class, node));
node = new DiscountFactorNode("TEST", Tenor.EIGHT_MONTHS, "Name");
assertEquals(node, cycleObject(DiscountFactorNode.class, node));
}