This is not to say China is itching for a fight, but it is trying to test its potential wartime foe in a controlled way.