Operator extends AbstractSopremoType implements
		ISerializableSopremoType, JsonStream, Cloneable, BeanInfo { public void setName(final String name) { if (name == null) throw new NullPointerException("name must not be null"); this.name = name; } Operator();  Operator(final int minInputs, final int maxInputs, final int minOutputs, final int maxOutputs); abstract ElementarySopremoModule asElementaryOperators(EvaluationContext context); abstract PactModule asPactModule(EvaluationContext context); @Override Operator<Self> clone(); @Override boolean equals(final Object obj); @Override BeanInfo[] getAdditionalBeanInfo(); @Override BeanDescriptor getBeanDescriptor(); @Override int getDefaultEventIndex(); @Override int getDefaultPropertyIndex(); @Override EventSetDescriptor[] getEventSetDescriptors(); @Override Image getIcon(final int iconKind); JsonStream getInput(final int index); List<Operator<?>> getInputOperators(); List<JsonStream> getInputs(); int getMaxInputs(); @Override MethodDescriptor[] getMethodDescriptors(); int getMinInputs(); String getName(); JsonStream getOutput(final int index); List<JsonStream> getOutputs(); @Override PropertyDescriptor[] getPropertyDescriptors(); @SuppressWarnings("unchecked") @Override Output getSource(); @Override int hashCode(); void setInput(final int index, final JsonStream input); void setInputs(final JsonStream... inputs); void setInputs(final List<? extends JsonStream> inputs); void setName(final String name); @Override void toString(final StringBuilder builder); void validate(); Self withInputs(final JsonStream... inputs); Self withInputs(final List<? extends JsonStream> inputs); Self withName(final String name); final static List<EvaluationExpression> ALL_KEYS; }
@Test(expected = java.lang.NullPointerException.class) public void testSetNameWithNull() { final Operator<?> fixture = new OpImpl(0); final String name = null; fixture.setName(name); }