View Javadoc
1   /*
2    * CSVeed (https://github.com/42BV/CSVeed)
3    *
4    * Copyright 2013-2023 CSVeed.
5    *
6    * All rights reserved. This program and the accompanying materials
7    * are made available under the terms of The Apache Software License,
8    * Version 2.0 which accompanies this distribution, and is available at
9    * https://www.apache.org/licenses/LICENSE-2.0.txt
10   */
11  package org.csveed.bean;
12  
13  import static org.junit.jupiter.api.Assertions.assertNull;
14  
15  import org.csveed.common.Column;
16  import org.csveed.test.model.BeanSimple;
17  import org.junit.jupiter.api.Test;
18  
19  /**
20   * The Class BeanInstructionsImplTest.
21   */
22  class BeanInstructionsImplTest {
23  
24      /**
25       * Property name is null.
26       */
27      @Test
28      void propertyNameIsNull() {
29          BeanInstructions instructions = new BeanInstructionsImpl(BeanSimple.class);
30          assertNull(instructions.getProperties().fromName(new Column("definitelyNotHere")));
31      }
32  
33  }