@Test
	public void testShareMethode() {  
	    try {
	     	for (int i = 0; i < 2; i++) {
	    		account.buyShare("daniel", "BMW", 2);
	    		account.buyShare("daniel", "Opel", 2);
	    		account.buyShare("daniel", "Merzedes", 2);
	    		account.sellShare("daniel", "BMW", 2);
	    		account.sellShare("daniel", "Opel", 2);
	    		account.sellShare("daniel", "Merzedes", 2);
			}
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	    BuySellHistory history =  account.getAllPlayer()[0].getBuySellHistory();
	    try {
			history.sort(new ComparatorMethodName());
		} catch (InstantiationException | IllegalAccessException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	    CommandEntity[] entity = history.getFirstLast();
	    System.out.print(history.toString());
	    assertFalse("ist falsch nach Aktienname sortiert", entity[0].getMethodName().equals(entity[1].getMethodName()));
	}