Begin by preheating an oven to 450 degrees F. Line a baking sheet with foil.
Place the mushrooms, tomatoes, garlic, and oregano on the prepared pan. Drizzle with olive oil and mix to coat. Roast for 25-30 minutes. Allow to cool.
Meanwhile, cook the pasta according to the package directions; drain and cool.
Add the pasta and roasted items to a large bowl. Top with cannellini beans, basil, and cheese.
In a small bowl, whisk together olive oil, vinegar, sugar, salt, and pepper. Add the dressing to the pasta and toss to combine.