title: How to test Olingo OData controllers?
body: <p>I'm trying to test my controllers with mock data on Olingo OData.</p>
  
  <p>How should I set up the test and access the endpoints?</p>
  
  <pre><code>@Entity
  @Table(name = "view_name")
  @Data
  @Accessors(chain = true)
  public class EntityName{
      @Id
      private int id;
  }
  </code></pre>
  
  <pre><code>@Repository
  public interface RepositoryName extends JpaRepository&lt;EntityName, Long&gt; {}
  </code></pre>
  
  <p>I have repositories and entities which I would like to test but those classes have no methods.</p>
  
  <p>(I need a simple test to validate the response type and content)</p>