I've been trying to figure out how to prove that the following equation is conservative
$$\int_{D^k} \partial_t(u^k) v_j^k + \partial_x(f) v_j^k dx = [(f -f^*) v^k_j]_{x^k}^{x^{k+1}}$$
where $v_j^k$ is a test function for element $k$, $f$ is the flux and $f^*$ is the numerical flux.
Can anyone point me out to some reference?