Пример #1
0
        public void BPMNLabel_Populate()
        {
            BpmnLabel label = new BpmnLabel
            {
                LabelStyle = XmlQualifiedName.Empty,
            };

            Assert.NotNull(label.LabelStyle);
        }
Пример #2
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void testBpmnLabel()
        public virtual void testBpmnLabel()
        {
            BpmnShape shape = startEvent.DiagramElement;

            assertThat(shape.BpmnElement).isEqualTo(startEvent);
            assertThat(shape.BpmnLabel).NotNull;

            BpmnLabel label = shape.BpmnLabel;

            assertThat(label.LabelStyle).Null;
            assertThat(label.Bounds).NotNull;
        }