Stripe implements Cloneable, PropertyHolder { public int getNodeCount() { return nodes.size(); }  List<Node> getNodes(); Stripe setNodes(List<Node> nodes); @Override String getName(); Stripe setName(String name); @Override UID getUID(); Stripe setUID(UID uid); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); String toShapeString(); Optional<Node> getSingleNode(); Optional<Node> getNode(UID uid); Optional<Node> getNode(String nodeName); boolean containsNode(UID uid); boolean containsNode(String nodeName); Collection<Node.Endpoint> getEndpoints(InetSocketAddress initiator); Collection<Node.Endpoint> getSimilarEndpoints(Node.Endpoint initiator); @Override @SuppressWarnings("MethodDoesntCallSuperMethod") @SuppressFBWarnings("CN_IDIOM_NO_SUPER_CALL") Stripe clone(); boolean removeNode(UID uid); boolean isEmpty(); Stripe addNode(Node source); Stripe addNodes(Node... sources); int getNodeCount(); @Override Properties toProperties(boolean expanded, boolean includeDefaultValues, boolean includeHiddenSettings, Version version); @Override Stream<? extends PropertyHolder> descendants(); @Override Scope getScope();  }
@Test public void test_getNodeCount() { assertThat(stripe.getNodeCount(), is(equalTo(1))); }