just as one planned; right where one wants; just as expected
Used when a situation develops exactly as someone intended, often with a nuance of the person being trapped or manipulated. Common in the phrase 思う壺にはまる (to fall into someone's trap, to play right into someone's hands).