Guest User

Untitled

a guest
Nov 18th, 2015
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class ShapeTest {
  2.    
  3.     public class MockShape extends Shape {
  4.         @Override
  5.             protected Mesh getMesh(final boolean isStatic, final int verticesNum, final int maxIndices, final VertexAttribute... vAttribs){
  6.                     return Mockito.mock(Mesh.class);
  7.         }
  8.     }
  9.  
  10.     public void testConstructorMock() {
  11.         Shape s = new MockShape(....)
  12.     }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment