def METHOD_NAME(self):
    aggregator = WeightedPercentileAggregator()
    percent = 50
    kwargs = dict(percent=percent, weights=self.weights_simple)
    data = np.empty(self.cube_simple.shape)
    coords = [self.coord_simple]
    actual = aggregator.post_process(
        self.cube_simple, data, coords, **kwargs
    )
    self.assertEqual(actual.shape, self.cube_simple.shape)
    self.assertIs(actual.data, data)
    name = "weighted_percentile_over_time"
    coord = actual.coord(name)
    expected = AuxCoord(percent, long_name=name, units="percent")
    self.assertEqual(coord, expected)