X-37B space plane returns after two-year secret mission

What was the US Air Force’s X-37B doing during its almost two years in orbit?