public void BPMNLabelStyle_Populate() { BpmnLabelStyle labelStyle = new BpmnLabelStyle { Font = new Font() }; Assert.NotNull(labelStyle.Font); }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void testBpmnLabelStyle() public virtual void testBpmnLabelStyle() { BpmnLabelStyle labelStyle = modelInstance.getModelElementsByType(typeof(BpmnLabelStyle)).GetEnumerator().next(); Font font = labelStyle.Font; assertThat(font).NotNull; assertThat(font.Name).isEqualTo("Arial"); assertThat(font.Size).isEqualTo(8.0); assertThat(font.Bold).True; assertThat(font.Italic).False; assertThat(font.StrikeThrough).False; assertThat(font.Underline).False; }